<template>
    <div class="">
      <el-radio-group v-model="radioValue" @change='handleRadioChange'>
        <el-radio label="apple">苹果</el-radio>
        <el-radio label='orange'>橘子</el-radio>
        <el-radio label='banana'>香蕉</el-radio>
      </el-radio-group>  
    </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    HelloWorld
  },
  data:function(){
    return {
      radioValue:'apple'
    }
  },
  methods:{
    handleRadioChange:function(lable){
      console.log('选中值：',lable);
    }
    
  }
}
</script>

<style>
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
</style>

<style lang='less' scoped>



</style>
